package com.core.mapper;

import com.core.dto.RoleInfoDto;
import com.core.domain.Roles;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author legion
 * @description 针对表【roles】的数据库操作Mapper
 * @createDate 2025-06-2 16:20:41
 * @Entity com.soft.domain.Roles
 */
@Mapper
public interface RolesMapper extends BaseMapper<Roles> {
    List<RoleInfoDto> selectPage(@Param("pageSize") Long pageSize, @Param("pageNum") Long pageNum, @Param("name") String roleName);

    void updateDescriptionById(@Param("data")RoleInfoDto roleInfoDto);
}




